package com.molichuxing.gateway.bff.car.entity.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * The type Mileage ex alarms vo.
 * 里程异变接口
 *
 * @author wanghualin
 * @date 2020 -04-02 13:49:14
 */
@Data
public class MileageExAlarmsVo extends ResponseRootDto {
    @ApiModelProperty(value = "车id")
    private Integer carId;
    @ApiModelProperty(value = "车架号")
    private String vin;
    @ApiModelProperty(value = "车牌号")
    private String licencePlate;
    @ApiModelProperty(value = "最后上报时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date lastReportDate;
    @ApiModelProperty(value = "车型名称")
    private String vehicleName;
    @ApiModelProperty(value = "用户账号")
    private String userName;
    @ApiModelProperty(value = "用户id")
    private Integer userId;
    @ApiModelProperty(value = "订单code")
    private Long orderCode;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    @ApiModelProperty(value = "开始报警时间")
    private Date beginTime;
    /**
     * 报警id
     */
    @ApiModelProperty(value = "报警id")
    private String alarmId;
    /**
     * 实际行驶里程
     */
    @ApiModelProperty(value = "实际行驶里程")
    private Double actualMileage;
    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;
    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单类型")
    private Integer orderType;
    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单类型Str")
    private String orderTypeStr;

    /**
     * GPS累计里程
     */
    @ApiModelProperty(value = "GPS累计里程")
    private Double gpsMileage;
    /**
     * 当前里程
     */
    @ApiModelProperty(value = "异变后里程")
    private Double currentMileage;

    @ApiModelProperty(value = "异变前里程")
    private Double lastTimeMileage;
    /**
     * gps里程
     */
    @ApiModelProperty(value = "gps里程")
    private Integer gpsOdo;

    /**
     * 仪表里程
     */
    @ApiModelProperty(value = "仪表里程")
    private Integer meterOdo;
    /**
     * 身份证号
     */
    @ApiModelProperty(value = "身份证号")
    private String idNumber;
    /**
     * 真实姓名
     */
    @ApiModelProperty(value = "真实姓名")
    private String realName;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phone;

}
